void set_key(int key)
void set_key(float key)
Parameter | Type | Description |
---|---|---|
key | int | integer key frame (0 - numframes) |
key | float | float key frame (0 - 1.0) |
None
These functions are used to set the current animation key. The integer version of the function is faster, but can only set the mesh to one of the predefined keyframes. The float version, linearly interpolates the two closest key frames to generate a smooth animation between keyframes.